﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Course.aspx.cs" Inherits="Course" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        .style1
        {
            width: 144px;
        }
        .style2
        {
            width: 169px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <h3>
        Welcome,
        <asp:Label ID="lblUserID" runat="server" Text="[lblUserID]"></asp:Label>
        .</h3>
    <div>
    
        Registration Number :
        <asp:Label ID="lblStudentNo" runat="server" Text="[lblStudentNo]"></asp:Label>
        .<br />
        <br />
        <table style="width:100%;">
            <tr>
                <td class="style1">
                    Choose Course :</td>
                <td class="style2">
                    <asp:DropDownList ID="ddlCourses" runat="server" Height="17px" Width="126px">
                    </asp:DropDownList>
                </td>
                <td>
                    <asp:RequiredFieldValidator ID="valCourse" runat="server" 
                        ControlToValidate="ddlCourses" ErrorMessage="Please select any course" 
                        ForeColor="#FF3300">*</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="style1">
                    Course Fees :</td>
                <td class="style2">
                    <asp:Label ID="lblCourseFees" runat="server" Text="[lblFee]"></asp:Label>
                </td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style1">
                    Course Duration :</td>
                <td class="style2">
                    <asp:Label ID="lblDuration" runat="server" Text="[lblDuration]"></asp:Label>
                </td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style1">
                    Choose Start Date :
                </td>
                <td class="style2">
                    <asp:TextBox ID="txtStartDate" runat="server" Width="170px"></asp:TextBox>
                </td>
                <td>
                    <asp:Calendar ID="Calendar1" runat="server"></asp:Calendar>
                </td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>
